{include file="public/header" /}
{load href="__PLUGINS__bootstrap/bootstrap-table.min.css"}
{load href="__PLUGINS__bootstrap/bootstrap-table.min.js"}
<style type="text/css">
    #des,#des input{ width: 40px;text-align:center;}
    #id{ width: 78px; }
    .bs-checkbox{ width: 36px; height: 40px }
    .fixed-table-toolbar .columns,.fixed-table-toolbar .search{margin-left:0px; margin-top: 0px }
    #title span{ float: right; }
</style>
<body class="gray-bg">
<div class="wrapper wrapper-content {:config('adminClass.main')}">
    <div class="ibox float-e-margins">
        {include file="public/tophead"}
        {include file="public/top" /}
        <div class="ibox-content">
            {include file="public/topsection"}
            <div class="row row-lg">
                <div class="col-sm-12">
                    <div class="example">
                        <form class="form-horizontal" method="post">
                            <table data-toggle="table">
                                <thead>
                                <tr>
                                    <th rowspan = "3" data-align="center">类型</th>
                                    <th rowspan = "3" data-align="center">名称</th>
                                    <th rowspan = "3" data-align="center">价格</th>
                                    <th colspan = "3" data-align="center">婚介利润分配</th>
                                    <th colspan = "2" data-align="center">红娘牵线利润分配</th>
                                    <th colspan = "2" data-align="center">单身会员付费利润分配</th>
                                </tr>
                                <tr>
                                    <th colspan = "2" data-align="center">婚介代理</th>
                                    <th rowspan = "2" data-align="center">公司利润</th>
                                    <th rowspan = "2" data-align="center">推荐人</th>
                                    <th rowspan = "2" data-align="center">公司利润</th>
                                    <th rowspan = "2" data-align="center">推荐人</th>
                                    <th rowspan = "2" data-align="center">公司利润</th>
                                </tr>
                                <tr>
                                    <th data-align="center">一级</th>
                                    <th data-align="center">二级</th>
                                </tr>
                                </thead>
                                <tbody id="form">
                                <tr class="class">
                                    <td rowspan = "4">婚介代理</td>
                                    <td>线上婚介代理</td>
                                    <td>{$config.hunjie_join}</td>
                                    <td>{$config.matchmaking_shouyi_1 * 100}%</td>
                                    <td>{$config.matchmaking_shouyi_2 * 100}%</td>
                                    <td>{$config.daili_company * 100}%</td>
                                    <td>  </td>
                                    <td>  </td>
                                    <td>  </td>
                                    <td>  </td>
                                </tr>
                                {volist name="partner" id="v"}
                                <tr class="class">
                                    <td>{$v.name}</td>
                                    <td>{$v.price}</td>
                                    <td>{$config.matchmaking_shouyi_1 * 100}%</td>
                                    <td>{$config.matchmaking_shouyi_2 * 100}%</td>
                                    <td>{$config.daili_company * 100}%</td>
                                    <td>  </td>
                                    <td>  </td>
                                    <td>  </td>
                                    <td>  </td>
                                </tr>
                                {/volist}
                                {volist name="pull" id="v"}
                                <tr class="class">
                                    {eq name="key" value="0"}<td rowspan = "{:count($pull)}">红娘牵线</td>{/eq}
                                    <td>{$v.description}</td>
                                    <td>{$v.price}</td>
                                    <td>  </td>
                                    <td>  </td>
                                    <td>  </td>
                                    <td>{$config.pullline_shouyi_1 * 100}%</td>
                                    <td>{$config.pull_company * 100}%</td>
                                    <td>  </td>
                                    <td>  </td>
                                </tr>
                                {/volist}
                                {volist name="vip" id="v"}
                                <tr class="class">
                                    {eq name="key" value="0"}<td rowspan = "{:count($vip)}">APP会员付费</td>{/eq}
                                    <td>{$v.description}</td>
                                    <td>{$v.price}</td>
                                    <td>  </td>
                                    <td>  </td>
                                    <td>  </td>
                                    <td>  </td>
                                    <td>  </td>
                                    <td>{$config.vip_shouyi_1}%</td>
                                    <td>{$config.vip_company}%</td>
                                </tr>
                                {/volist}
                                </tbody>
                            </table>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{include file="public/footer" /}
 